﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ClassLibrary.DAO;

public partial class ViewNDLaiThuXe : System.Web.UI.Page
{
    TblNoiDungLaiXeThuDAO ndlaithuxeDAO = new TblNoiDungLaiXeThuDAO(Global.CONNECTION_STRING);

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            string id = Request.QueryString["id"];
            formND.DataSource = ndlaithuxeDAO.GetNoiDung_ByID(Global.ConvertToInt(id));
            formND.DataBind();
        }
    }
}